package cn.tedu.ivosback.maintenance.mapper;

import cn.tedu.ivosback.maintenance.pojo.dto.MaintenanceQuery;
import cn.tedu.ivosback.maintenance.pojo.entity.Maintenance;
import cn.tedu.ivosback.maintenance.pojo.vo.MaintenanceVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MaintenanceMapper {
    List<MaintenanceVO> select(MaintenanceQuery maintenanceQuery);

    void insert(Maintenance maintenance);

    void update(Maintenance maintenance);

    MaintenanceVO selectById(Long id);

    void delete(Long id);
}
